<template>
  <div class="other-anime">
    <BigTitle :title="title" data_content="OTHER ANIME" />
    <div class="other-anime_list_box">
      <div class="other-anime_list">
        <div class="other-anime_box" v-for="item in overData.list" :key="item.id">
          <LongBlock :title="item.animeTitle" :cover="item.cover" :id="item.id" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import LongBlock from '@/components/Block/LongBlock.vue'
import BigTitle from '@/components/ToHome/BigTitle.vue'

export default {
  name: 'OtherAnime',
  components: {
    LongBlock,
    BigTitle
  },
  props: {
    title: {
      default: ''
    },
    overData: {
      default: {}
    }
  }
}
</script>

<style lang="scss" scoped>
.other-anime {
  width: 100%;
  &_list_box {
    position: relative;
    width: 100%;
    height: 150px;
  }
  &_list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    overflow: hidden;
    .other-anime_box {
      cursor: pointer;
      width: 290px;
      height: 150px;
      border-radius: 10px;
      overflow: hidden;
    }
  }
}
</style>
